package com.lds.employment.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.lds.employment.mapper.EmploymentStudentEvaluateMapper;
import com.lds.employment.domain.EmploymentStudentEvaluate;
import com.lds.employment.service.IEmploymentStudentEvaluateService;

/**
 * 学生评价Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
@Service
public class EmploymentStudentEvaluateServiceImpl implements IEmploymentStudentEvaluateService 
{
    @Autowired
    private EmploymentStudentEvaluateMapper employmentStudentEvaluateMapper;

    /**
     * 查询学生评价
     * 
     * @param id 学生评价主键
     * @return 学生评价
     */
    @Override
    public EmploymentStudentEvaluate selectEmploymentStudentEvaluateById(Long id)
    {
        return employmentStudentEvaluateMapper.selectEmploymentStudentEvaluateById(id);
    }

    /**
     * 查询学生评价列表
     * 
     * @param employmentStudentEvaluate 学生评价
     * @return 学生评价
     */
    @Override
    public List<EmploymentStudentEvaluate> selectEmploymentStudentEvaluateList(EmploymentStudentEvaluate employmentStudentEvaluate)
    {
        return employmentStudentEvaluateMapper.selectEmploymentStudentEvaluateList(employmentStudentEvaluate);
    }

    /**
     * 新增学生评价
     * 
     * @param employmentStudentEvaluate 学生评价
     * @return 结果
     */
    @Override
    public int insertEmploymentStudentEvaluate(EmploymentStudentEvaluate employmentStudentEvaluate)
    {
        return employmentStudentEvaluateMapper.insertEmploymentStudentEvaluate(employmentStudentEvaluate);
    }

    /**
     * 修改学生评价
     * 
     * @param employmentStudentEvaluate 学生评价
     * @return 结果
     */
    @Override
    public int updateEmploymentStudentEvaluate(EmploymentStudentEvaluate employmentStudentEvaluate)
    {
        return employmentStudentEvaluateMapper.updateEmploymentStudentEvaluate(employmentStudentEvaluate);
    }

    /**
     * 批量删除学生评价
     * 
     * @param ids 需要删除的学生评价主键
     * @return 结果
     */
    @Override
    public int deleteEmploymentStudentEvaluateByIds(Long[] ids)
    {
        return employmentStudentEvaluateMapper.deleteEmploymentStudentEvaluateByIds(ids);
    }

    /**
     * 删除学生评价信息
     * 
     * @param id 学生评价主键
     * @return 结果
     */
    @Override
    public int deleteEmploymentStudentEvaluateById(Long id)
    {
        return employmentStudentEvaluateMapper.deleteEmploymentStudentEvaluateById(id);
    }
}
